Skip to content

Conversation

@Seth-jo
Copy link

@Seth-jo Seth-jo commented Oct 31, 2025

Description

This PR updates the usage section of the Cloud Messaging documentation examples to use the modular API instead of the deprecated namespaced API.

The documentation currently uses the namespaced API in all its examples. With the incoming deprecation of the namespaced API, usage of the modular API is the better practice. As such, the documentation should reflect this.

I found it difficult uplifting to Expo SDK 53 and updating my code without examples to utilise - just using the Firebase docs does not feel as intuitive as examples from the actual implementation.

Within the PR, I just updated the current examples in Usage to use the modular API.

Related issues

Fixes #8710

Release Summary

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
    • Other (macOS, web)
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan

This is only a change to the documentation - no functional changes were made.


Think react-native-firebase is great? Please consider supporting the project with any of the below:

🔥

@vercel
Copy link

vercel bot commented Oct 31, 2025

@Seth-jo is attempting to deploy a commit to the Invertase Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link

CLAassistant commented Oct 31, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[📚] Cloud Messaging getToken() not updated to modular format

2 participants